![]() |
SPBSignOutDevice |
||||
Header: | Sound.h | Carbon status: | Supported | |
Cancels the registration of a device you have previously registered with the SPBSignInDevice function.
OSErr SPBSignOutDevice ( SInt16 deviceRefNum );
The driver reference number of the device you wish to sign out.
A result code.
The SPBSignOutDevice function cancels the registration of the device whose driver reference number is deviceRefNum; the device is unregistered from the Sound Input Manager’s list of available sound input devices and no longer appears in the Sound In control panel.
Ordinarily, you should not need to use the SPBSignOutDevice function. You might use it if your device driver detects that a sound input device is not functioning correctly or has been disconnected.
Because the SPBSignOutDevice function moves or purges memory, you should not call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)